using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace Frame.Core.Models.Dto {

	[Table(DisableSyncStructure = true)]
	public partial class MenusDto
	{

		/// <summary>
		/// id
		/// </summary>
		[JsonProperty]
		public int id { get; set; }


		/// <summary>
		/// 父id
		/// </summary>
		[JsonProperty]
		public int? parentId { get; set; }


		/// <summary>
		/// 名称
		/// </summary>
		[JsonProperty]
		public string title { get; set; }

		/// <summary>
		/// 类型
		/// </summary>
		[JsonProperty]
		public int type { get; set; }

		/// <summary>
		/// 图标
		/// </summary>
		[JsonProperty]
		public string icon { get; set; }


		/// <summary>
		/// 链接
		/// </summary>
		[JsonProperty]
		public string href { get; set; }


		/// <summary>
		/// 子菜单
		/// </summary>
		[JsonProperty]
		public List<MenusDto> children { get; set; }

	}

}
